Optimal. Leaf size=35 \[ -\frac {2 \cos (x)}{\sqrt {x}}-2 \sqrt {2 \pi } S\left (\sqrt {\frac {2}{\pi }} \sqrt {x}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 35, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 8, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.375, Rules used = {3378, 3386,
3432} \begin {gather*} -2 \sqrt {2 \pi } S\left (\sqrt {\frac {2}{\pi }} \sqrt {x}\right )-\frac {2 \cos (x)}{\sqrt {x}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 3378
Rule 3386
Rule 3432
Rubi steps
\begin {align*} \int \frac {\cos (x)}{x^{3/2}} \, dx &=-\frac {2 \cos (x)}{\sqrt {x}}-2 \int \frac {\sin (x)}{\sqrt {x}} \, dx\\ &=-\frac {2 \cos (x)}{\sqrt {x}}-4 \text {Subst}\left (\int \sin \left (x^2\right ) \, dx,x,\sqrt {x}\right )\\ &=-\frac {2 \cos (x)}{\sqrt {x}}-2 \sqrt {2 \pi } S\left (\sqrt {\frac {2}{\pi }} \sqrt {x}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains complex when optimal does not.
time = 0.03, size = 63, normalized size = 1.80 \begin {gather*} \frac {-e^{-i x} \left (1+e^{2 i x}\right )+\sqrt {-i x} \text {Gamma}\left (\frac {1}{2},-i x\right )+\sqrt {i x} \text {Gamma}\left (\frac {1}{2},i x\right )}{\sqrt {x}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.04, size = 28, normalized size = 0.80
method | result | size |
derivativedivides | \(-2 \,\mathrm {S}\left (\frac {\sqrt {2}\, \sqrt {x}}{\sqrt {\pi }}\right ) \sqrt {2}\, \sqrt {\pi }-\frac {2 \cos \left (x \right )}{\sqrt {x}}\) | \(28\) |
default | \(-2 \,\mathrm {S}\left (\frac {\sqrt {2}\, \sqrt {x}}{\sqrt {\pi }}\right ) \sqrt {2}\, \sqrt {\pi }-\frac {2 \cos \left (x \right )}{\sqrt {x}}\) | \(28\) |
meijerg | \(\frac {\sqrt {2}\, \sqrt {\pi }\, \left (-\frac {4 \sqrt {2}\, \cos \left (x \right )}{\sqrt {\pi }\, \sqrt {x}}-8 \,\mathrm {S}\left (\frac {\sqrt {2}\, \sqrt {x}}{\sqrt {\pi }}\right )\right )}{4}\) | \(36\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [C] Result contains complex when optimal does not.
time = 0.56, size = 21, normalized size = 0.60 \begin {gather*} -\left (\frac {1}{4} i + \frac {1}{4}\right ) \, \sqrt {2} \Gamma \left (-\frac {1}{2}, i \, x\right ) + \left (\frac {1}{4} i - \frac {1}{4}\right ) \, \sqrt {2} \Gamma \left (-\frac {1}{2}, -i \, x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.41, size = 31, normalized size = 0.89 \begin {gather*} -\frac {2 \, {\left (\sqrt {2} \sqrt {\pi } x \operatorname {S}\left (\frac {\sqrt {2} \sqrt {x}}{\sqrt {\pi }}\right ) + \sqrt {x} \cos \left (x\right )\right )}}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 1.01, size = 61, normalized size = 1.74 \begin {gather*} \frac {\sqrt {2} \sqrt {\pi } S\left (\frac {\sqrt {2} \sqrt {x}}{\sqrt {\pi }}\right ) \Gamma \left (- \frac {1}{4}\right )}{2 \Gamma \left (\frac {3}{4}\right )} + \frac {\cos {\left (x \right )} \Gamma \left (- \frac {1}{4}\right )}{2 \sqrt {x} \Gamma \left (\frac {3}{4}\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.03 \begin {gather*} \int \frac {\cos \left (x\right )}{x^{3/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________